package com.ruoyi.erecord.samplebox.service;

import java.util.Collection;
import java.util.List;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.erecord.samplebox.domain.bo.SampleboxBo;
import com.ruoyi.erecord.samplebox.domain.vo.SampleboxVo;

/**
 * 样本框Service接口
 *
 * @author cc
 * @date 2023-04-21
 */
public interface ISampleboxService {

    /**
     * 查询样本框
     */
    SampleboxVo queryById(Long id);

    /**
     * 查询样本框列表
     */
    TableDataInfo<SampleboxVo> queryPageList(SampleboxBo bo, PageQuery pageQuery);

    /**
     * 查询样本框列表
     */
    List<SampleboxVo> queryList(SampleboxBo bo);

    /**
     * 新增样本框
     */
    Boolean insertByBo(SampleboxBo bo);

    /**
     * 修改样本框
     */
    Boolean updateByBo(SampleboxBo bo);

    /**
     * 校验并批量删除样本框信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
    
    Boolean isUseEmployeeId(Long employeeId);
    
    Boolean batchInsertOrUpdate(String batchNO);
    
    SampleboxVo queryBySampleboxCode(String sampleboxCode);
}
